﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Diagnostics.Metrics;

namespace CKS2320.Domain.DBEntity
{
    [Table("Op30coredata")]
    public partial class Op30coredata
    {
        [Key]
        public long Id { get; set; }
        /// <summary>
        /// 二维码
        /// </summary>
        public string? SerialNumber { get; set; }
        /// <summary>
        /// 时间
        /// 
        /// </summary>
        public DateTime? TestTime { get; set; }
        /// <summary>
        /// 通道信息
        /// </summary>
        public string? Passageway { get; set; }
        /// <summary>
        /// 立面拱曲度
        /// </summary>
        public float? FacadeCamber { get; set; }
        /// <summary>
        /// 拱曲度结果判定
        /// </summary>
        public string? CamberJudge { get; set; }
        /// <summary>
        /// camberUnit单位
        /// </summary>
        public string? CamberUnit { get; set; } = "mm";
        /// <summary>
        /// 总长
        /// </summary>
        public float? TotalLength { get; set; }
        /// <summary>
        /// total LengthJudge判定
        /// </summary>
        public string? TotalLengthJudge { get; set; }
        /// <summary>
        /// totalLengthUnit单位
        /// </summary>
        public string? TotalLengthUnit { get; set; } = "mm";
        /// <summary>
        /// 背面波间距
        /// </summary>
        public float? BackScallop2Pitch { get; set; }
        /// <summary>
        /// 背面波直径
        /// </summary>
        public float? BackScallop2Diameter { get; set; }
        /// <summary>
        /// 背面波间距
        /// </summary>
        public float? BackScallop3Pitch { get; set; }
        /// <summary>
        /// 背面波直径
        /// </summary>
        public float? BackScallop3Diameter { get; set; }
        /// <summary>
        /// 正面波间距
        /// </summary>
        public float? FrontScallop2Pitch { get; set; }
        /// <summary>
        ///  正面波直径
        /// </summary>
        public float? FrontScallop2Diameter { get; set; }
        /// <summary>
        ///  正面波间距
        /// </summary>
        public float? FrontScallop3Pitch { get; set; }
        /// <summary>
        ///  正面波直径
        /// </summary>
        public float? FrontScallop3Diameter { get; set; }
        /// <summary>
        /// 膜厚最大值
        /// </summary>
        public float? MaxThickness { get; set; }
        /// <summary>
        /// 膜厚最大值判定
        /// </summary>
        public string? MaxThicknessJudge { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string? MaxThicknessUnit { get; set; } = "mm";
        /// <summary>
        /// 膜厚最小值
        /// </summary>
        public float? MiniThickness { get; set; }
        /// <summary>
        /// 膜厚最小值判定
        /// </summary>
        public string? MiniThicknessJudge { get; set; }
        /// <summary>
        /// 最小值单位
        /// </summary>
        public string? MiniThicknessUnit { get; set; } = "mm";
        /// <summary>
        /// OP30最总判定=camber结果，上膜厚判定=
        /// </summary>
        public string? FinalJudge { get; set; }
        /// <summary>
        /// 正面barb到第一个波谷的距离
        /// </summary>
        public float? FtFs { get; set; }
        /// <summary>
        /// 正面最后一个波谷到barb
        /// </summary>
        public float? FtLs { get; set; }
        /// <summary>
        /// 背面barb到第一个波谷的距离  20241204修改为背面膜厚最大值
        /// </summary>
        public float? BtFs { get; set; }
        /// <summary>
        /// 背面最后一个波谷到barb  20241204修改为背面膜厚最小值
        /// </summary>
        public float? BtLs { get; set; }


        /// <summary>
        /// 膜厚总结果
        /// </summary>
        public string? thicknessJudge { get; set; }
        /// <summary>
        /// 正面barb到第一个波谷的距离 的结果
        /// </summary>
        public string? FtFsJudge { get; set; }
        /// <summary>
        /// 正面barb到第一个波谷的距离单位
        /// </summary>
        public string? FtFsUnit { get; set; } = "mm";

        /// <summary>
        /// 正面最后一个波谷到barb 的结果
        /// </summary>
        public string? FtLsJudge { get; set; }
        /// <summary>
        /// 正面最后一个波谷到barb 的单位
        /// </summary>
        public string? FtLsUnit { get; set; } = "mm";

        /// <summary>
        /// 背面barb到第一个波谷的距离的结果
        /// </summary>
        public string? BtFsJudge { get; set; }
        /// <summary>
        /// 背面barb到第一个波谷的距离的单位
        /// </summary>
        public string? BtFsUnit { get; set; } = "mm";

        /// <summary>
        /// 背面最后一个波谷到barb  的结果
        /// </summary>
        public string? BtLsJudge { get; set; }
        /// <summary>
        /// 背面最后一个波谷到barb   的单位
        /// </summary>
        public string? BtLsUnit { get; set; } = "mm";
        /// <summary>
        /// 边距里总结果
        /// </summary>
        public string? FSTotalJudge { get; set; }
    }
}
